<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <TITLE>ThinkPHP示例：数据分页</TITLE>
<link rel='stylesheet' type='text/css' href='__PUBLIC__/Css/common.css'>
 </HEAD>
 <BODY>
 <div class="main">
 <H2>ThinkPHP示例之：数据分页</H2>
ThinkPHP内置了分页类，可以简单的进行分页数据显示。效果如下：
 <TABLE  cellpadding=3 cellspacing=3>
  <TR>
	<TD ><div class="result" style="font-weight:normal">默认效果：{$page1}</div>
	<div class="result" style="background:#D9D9FF;font-weight:normal;border:1px solid black">定制效果：{$page2}</div></TD>
 </TR>
 <TR>
	<TD ><HR> 示例源码<BR>控制器IndexAction类<BR><php>highlight_file(LIB_PATH.'Action/IndexAction.class.php');</php>
	</TD>
 </TR>
 </TABLE>
</div>
 </BODY>
</HTML>
